<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
    <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkCurrent)</TargetFrameworks>
  </PropertyGroup>
  <PropertyGroup>
    <DefineConstants Condition="$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) == '.NETCoreApp'">$(DefineConstants);MEMORYMARSHAL_SUPPORT</DefineConstants>
  </PropertyGroup>
  <ItemGroup>
    <RdXmlFile Include="default.rd.xml" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
    <Compile Include="DiagnosticSourceEventSourceBridgeTests.cs" />
    <Compile Include="TestNotSupported.cs" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\src\System\Diagnostics\Metrics\Aggregator.cs" Link="Aggregator.cs" />
    <Compile Include="..\src\System\Diagnostics\Metrics\AggregatorStore.cs" Link="AggregatorStore.cs" />
    <Compile Include="..\src\System\Diagnostics\Metrics\ExponentialHistogramAggregator.cs" Link="ExponentialHistogramAggregator.cs" />
    <Compile Include="..\src\System\Diagnostics\Metrics\LastValueAggregator.cs" Link="LastValueAggregator.cs" />
    <Compile Include="..\src\System\Diagnostics\Metrics\ObjectSequence.cs" Link="ObjectSequence.cs" />
    <Compile Include="..\src\System\Diagnostics\Metrics\ObjectSequence.netcore.cs" Link="ObjectSequence.netcore.cs" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" />
    <Compile Include="..\src\System\Diagnostics\Metrics\ObjectSequence.netfx.cs" Link="ObjectSequence.netfx.cs" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
    <Compile Include="..\src\System\Diagnostics\Metrics\StringSequence.cs" Link="StringSequence.cs" />
    <Compile Include="..\src\System\Diagnostics\Metrics\StringSequence.netcore.cs" Link="StringSequence.netcore.cs" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" />
    <Compile Include="..\src\System\Diagnostics\Metrics\StringSequence.netfx.cs" Link="StringSequence.netfx.cs" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="AggregationManagerTests.cs" />
    <Compile Include="ExponentialHistogramTests.cs" />
    <Compile Include="DiagnosticSourceTests.cs" />
    <Compile Include="ActivityTests.cs" />
    <Compile Include="ActivitySourceTests.cs" />
    <Compile Include="ActivityTagsCollectionTests.cs" />
    <Compile Include="MetricEventSourceTests.cs" />
    <Compile Include="MetricsTests.cs" />
    <Compile Include="PropagatorTests.cs" />
    <Compile Include="TagListTests.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Compile Include="HttpHandlerDiagnosticListenerTests.cs" />
    <Compile Include="ActivityDateTimeTests.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Configuration.cs" Link="Common\System\Net\Configuration.cs" />
    <Compile Include="$(CommonTestPath)System\Net\Configuration.Http.cs" Link="Common\System\Net\Configuration.Http.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Reference Include="System.Net.Http" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\src\System.Diagnostics.DiagnosticSource.csproj" />
  </ItemGroup>
</Project>